func golang.org/x/text/internal/language.getLangID
4 uses
golang.org/x/text/internal/language (current package)
language.go#L483: return getLangID(buf[:copy(buf[:], s)])
lookup.go#L39: func getLangID(s []byte) (Language, error) {
parse.go#L303: t.LangID, e = getLangID(scan.token)
parse.go#L312: lang, e := getLangID(scan.token)
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)